package com.kuangstudy.common.demo5;

/**
 * ClassName: Test2
 * date: 2021/07/14 13:13:04
 *
 * @author zlk
 */
public class Test2 {
    public static void main(String[] args) {
//        Student s1 = new Student("aaa1",20);
//        Student s2 = new Student("aaa2",20);
//        Student s3 = new Student("aaa3",20);
//        Student s4 = new Student("aaa4",20);
//        Student s5 = new Student("aaa5",20);
//        Student s6 = new Student("aaa6",20);
        new Student("aaa1", 20);
        new Student("aaa2", 20);
        new Student("aaa3", 20);
        new Student("aaa4", 20);
        new Student("aaa5", 20);
        new Student("aaa6", 20);
        System.gc();
        System.out.println("回收垃圾");
    }
}
